Flexible Cache for Database Management Systems
نویسندگان
چکیده
Cache of a persistent data structure represents an important part, which significantly influence its efficiency. Cache consists from an array of main memory blocks (caled cache nodes) with a constant size. Cache nodes buffer the data structure nodes hence they can be accessed quickly. However, data structure nodes do not usually fully utilize the whole main memory block. Therefore, the constant cache node size the waste of the main memory. In this article, we propose the solution where the cache consists from the cache nodes with a different size. Cache is split into several cache rows. The data structure nodes with the similar size are stored in one cache row. Such a solution has two problems: (1) that the some cache row has to replace the nodes too often during the querying (cache row contention), and (2) that the data structure nodes has to be moved between the cache rows during the insert and the delete operation. In our experimental section we show that the effect of the cache row contention is minimized if we set the cache row size according to the data structure node distribution. We also discuss a solution of the node cache moves problem.
منابع مشابه
Second-tier Cache Management to Support DBMS Workloads
Enterprise Database Management Systems (DBMS) often run on computers with dedicated storage systems. Their data access requests need to go through two tiers of cache, i.e., a database bufferpool and a storage server cache, before reaching the storage media, e.g., disk platters. A tremendous amount of work has been done to improve the performance of the first-tier cache, i.e., the database buffe...
متن کاملMultiresolution Cache Management for Distributed Satellite Image Databases Using NACSIS-Thai International Link
This paper deals with the network technology that will be useful for the development of distributed satellite image databases. In particular, the author proposes a new caching mechanism by combining multiresolution image representation into cache management mechanism. The author first analyzes access pattern to a satellite image database and demonstrates that many kinds of access skew can be we...
متن کاملPredicate-based Cache Management for Continuous Partial Match Queries in Mobile Databases
The continuous partial match query is a partial match query whose result continues to exist consistently in the client's memory. Conventional cache management methods for mobile clients are record ID-based. However, since the partial match query uses content-based retrieval, the conventional record ID-based approach cannot properly manage cache consistency. Therefore, in the paper, we propose a...
متن کاملPreventing Cache Overflows in an Object-Oriented Database Management System with the Object-Descriptor Architecture
In an object-oriented database management system built in the object-descriptor architecture, there is a concern about cached object-descriptors (CODs) filling up the client object cache space and, consequently, failing a database transaction. This phenomenon occurs especially during the data loading which keeps creating new objects in the object cache space. In this paper, we reexamine the str...
متن کاملCache Management for Web-Powered Databases
Copyright © 2003, Idea Group Publishing. ABSTRACT The Web has become the primary means for information dissemination. It is ideal for publishing data residing in a variety of repositories, such as databases. In such a multi-tier system (client Web server underlying database), where the Web page content is dynamically derived from the database (Web-powered database), cache management is very imp...
متن کاملCOSAR-CQN: An Application Transparent Approach to Cache Consistency
Cache managers speed up the performance of data intensive applications whose workload is dominated by queries. An example is memcached which is in use by very large well-known sites such as Facebook. A key challenge of such systems is how to maintain the state of the cache consistent with that of the database in the presence of updates. With SQL based database management systems (DBMSs) that su...
متن کامل